
import db
import pandas as pd




# DictDB = db.DBOperate("dictionary.db")
# lst = [j for i in DictDB.Query("SELECT WORD FROM CET6") for j in i]
# print(lst)
# LinkUSER = db.DBOperate("USER.db")
# user = [j for i in LinkUSER.Query("SELECT account FROM USER") for j in i]
#
# frame = pd.DataFrame(pd.read_csv("data/counter.csv"))
# frame.set_index(["0"], inplace=True)
#
# frame.loc["aback", "admin"] = "20;5;30"
# frame.loc[0] = 'A'
# print(frame)
# print(frame.loc["aback", "admin"])

# frame = pd.DataFrame(lst, )
# print(frame)
# frame[user[0]] = "0;0;0"
#
# frame.to_csv("data/counter.csv", index=False)


# lst = ["a", "b", "c", "d", "e", "f"]
#
# temCounter= dict(zip(lst,[0 for i in range(len(lst))]))
# print(temCounter)

class Test:
    def __init__(self):
        self.Lst = [1, 2, 3, 4, 5]
        print(self.Lst[0:3])

if __name__ == '__main__':
    Test()